<form id="buku" name="buku" method="post" action="">
<table width="434" border="0">

 
  <tr>
    <td>Kode Buku</td>
    <td>:</td>
    <td><?php echo form_error('kode'); ?> <input type="text" name="kode" id="kode" value="<?php echo set_value('kode');?>" ></td>
  </tr>
    <tr>
    <td>Judul Buku</td>
    <td>:</td>
    <td><?php echo form_error('judul'); ?> <input type="text" name="judul" id="judul" value="<?php echo set_value('judul');?>" ></td>
  </tr>
    <tr>
    <td>Nama Pengarang</td>
    <td>:</td>
    <td><?php echo form_error('pengarang'); ?> <input type="text" name="pengarang" id="pengarang" value="<?php echo set_value('pengarang');?>" ></td>
  </tr>
    <tr>
    <td>Kategori</td>
    <td>:</td>
    <td> <?php echo kategoriDropdown()?></td>
  </tr>
    <tr>
    <td>Penerbit</td>
    <td>:</td>
    <td><?php echo penerbitDropdown() ?></td>
  </tr>
    <tr>
    <td>No Buku</td>
    <td>:</td>
    <td><?php echo form_error('nomer'); ?> <input type="text" name="nomer" id="nomer" value="<?php echo set_value('nomer');?>" ></td>
  </tr>
    <tr>
    <td>Kode Rak</td>
    <td>:</td>
    <td><?php echo form_error('no_rak'); ?> <input type="text" name="no_rak" id="no_rak" value="<?php echo set_value('no_rak');?>" ></td>
  </tr>

  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td><input type="submit" name="simpan" id="simpan" value="simpan"></td>
  </tr>
</table>
</form>
